package com.allqj.sfx.ddd.member.application.dto;

import com.allqj.sfx.ddd.member.domain.enums.FlowApproverTypeEnum;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author sjw
 * @className FlowTaskDefDTO
 * @date 2022/7/21 18:47
 * @description: 审批流-流程任务定义
 */
public class FlowTaskDefDTO {
    @ApiModelProperty(value = "流程定义id")
    private Integer flowDefId;
    @ApiModelProperty(value = "审批人类型")
    private Integer approverType;
    @NotEmpty(message = "任务节点审批人不能为空")
    @ApiModelProperty(value = "任务节点审批角色定义部门id或者人员id list")
    private List<Integer> approverDef;

    @ApiModelProperty(value = "当前流程的第几步-步骤")
    @Min(1)
    private Integer taskStep;

    public Integer getFlowDefId() {
        return flowDefId;
    }

    public void setFlowDefId(Integer flowDefId) {
        this.flowDefId = flowDefId;
    }

    public Integer getApproverType() {
        return approverType;
    }

    public void setApproverType(Integer approverType) {
        this.approverType = approverType;
    }

    public List<Integer> getApproverDef() {
        return approverDef;
    }

    public void setApproverDef(List<Integer> approverDef) {
        this.approverDef = approverDef;
    }

    public Integer getTaskStep() {
        return taskStep;
    }

    public void setTaskStep(Integer taskStep) {
        this.taskStep = taskStep;
    }

}
